package com.luyue.zagj.activity.base;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RelativeLayout;

import com.luyue.zagj.BaseActivity;
import com.luyue.zagj.R;
import com.umeng.analytics.MobclickAgent;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class FindPswPro1Activity extends BaseActivity {

    @Bind(R.id.findPswPro1_cancel_btn)
    Button findPswPro1CancelBtn;
    @Bind(R.id.findPswPro1_top_rl)
    RelativeLayout findPswPro1TopRl;
    @Bind(R.id.findPswPro1_phone_ed)
    EditText findPswPro1PhoneEd;
    @Bind(R.id.findPswPro1_next_btn)
    Button findPswPro1NextBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_find_psw_pro1);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.findPswPro1_cancel_btn, R.id.findPswPro1_next_btn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.findPswPro1_cancel_btn:
                this.finish();
                break;
            case R.id.findPswPro1_next_btn:
                Intent it = new Intent(this, FindPswPro2Activity.class);
                startActivity(it);
                finish();
                break;
        }
    }

}
